C# decimal with two places store as string with two places

56

C# decimal with two places store as string with two places -

public static string DoFormat( double myNumber )
{
    var s = string.Format("{0:0.00}", myNumber);

    return s;
}

Comments

Submit
0 Comments